package controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <h1></h1>
 *
 * @author zhh 2019-06-04
 */
@Controller
public class QuartzController {

    @RequestMapping("/login")
    @ResponseBody
    public Object login(
            @RequestParam(value = "username", required = false) String username,
            @RequestParam(value = "password", required = false) String password) {
        return "hello" + username + ", your password is " + password;
    }
}
